home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12310 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file C source, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 72 | 63 68 68 35 32 2e 72 69 |Path: nr|chh52.ri|
|00000010| 63 68 2e 6e 74 2e 63 6f | 6d 21 6e 65 77 73 0a 46 |ch.nt.co|m!news.F|
|00000020| 72 6f 6d 3a 20 4a 6f 73 | 65 70 68 20 42 65 6c 6c |rom: Jos|eph Bell|
|00000030| 20 3c 6a 6f 62 65 6c 6c | 40 62 6e 72 2e 63 61 3e | <jobell|@bnr.ca>|
|00000040| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000050| 70 2e 6c 61 6e 67 2e 63 | 2b 2b 0a 53 75 62 6a 65 |p.lang.c|++.Subje|
|00000060| 63 74 3a 20 52 65 3a 20 | 48 65 6c 70 21 20 4e 65 |ct: Re: |Help! Ne|
|00000070| 77 62 69 65 20 71 75 65 | 73 74 69 6f 6e 20 2e 2e |wbie que|stion ..|
|00000080| 2e 0a 44 61 74 65 3a 20 | 54 75 65 2c 20 31 39 20 |..Date: |Tue, 19 |
|00000090| 4d 61 72 20 31 39 39 36 | 20 30 37 3a 30 31 3a 30 |Mar 1996| 07:01:0|
|000000a0| 31 20 2d 30 36 30 30 0a | 4f 72 67 61 6e 69 7a 61 |1 -0600.|Organiza|
|000000b0| 74 69 6f 6e 3a 20 42 65 | 6c 6c 2d 4e 6f 72 74 68 |tion: Be|ll-North|
|000000c0| 65 72 6e 20 52 65 73 65 | 61 72 63 68 0a 4d 65 73 |ern Rese|arch.Mes|
|000000d0| 73 61 67 65 2d 49 44 3a | 20 3c 33 31 34 45 42 30 |sage-ID:| <314EB0|
|000000e0| 30 43 2e 33 34 42 44 40 | 62 6e 72 2e 63 61 3e 0a |0C.34BD@|bnr.ca>.|
|000000f0| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 69 6c |Referenc|es: <4il|
|00000100| 6b 66 75 24 34 31 71 40 | 4b 61 6f 73 2e 64 65 65 |kfu$41q@|Kaos.dee|
|00000110| 70 63 6f 76 65 2e 63 6f | 6d 3e 0a 4e 4e 54 50 2d |pcove.co|m>.NNTP-|
|00000120| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 34 37 |Posting-|Host: 47|
|00000130| 2e 31 38 36 2e 36 35 2e | 33 32 0a 4d 69 6d 65 2d |.186.65.|32.Mime-|
|00000140| 56 65 72 73 69 6f 6e 3a | 20 31 2e 30 0a 43 6f 6e |Version:| 1.0.Con|
|00000150| 74 65 6e 74 2d 54 79 70 | 65 3a 20 74 65 78 74 2f |tent-Typ|e: text/|
|00000160| 70 6c 61 69 6e 3b 20 63 | 68 61 72 73 65 74 3d 75 |plain; c|harset=u|
|00000170| 73 2d 61 73 63 69 69 0a | 43 6f 6e 74 65 6e 74 2d |s-ascii.|Content-|
|00000180| 54 72 61 6e 73 66 65 72 | 2d 45 6e 63 6f 64 69 6e |Transfer|-Encodin|
|00000190| 67 3a 20 37 62 69 74 0a | 58 2d 4d 61 69 6c 65 72 |g: 7bit.|X-Mailer|
|000001a0| 3a 20 4d 6f 7a 69 6c 6c | 61 20 32 2e 30 20 28 58 |: Mozill|a 2.0 (X|
|000001b0| 31 31 3b 20 49 3b 20 48 | 50 2d 55 58 20 41 2e 30 |11; I; H|P-UX A.0|
|000001c0| 39 2e 30 35 20 39 30 30 | 30 2f 37 31 32 29 0a 54 |9.05 900|0/712).T|
|000001d0| 6f 3a 20 53 65 61 6e 20 | 41 66 66 6c 65 63 6b 20 |o: Sean |Affleck |
|000001e0| 3c 73 61 66 66 6c 65 63 | 6b 40 64 65 65 70 63 6f |<safflec|k@deepco|
|000001f0| 76 65 2e 63 6f 6d 3e 0a | 0a 53 65 61 6e 20 41 66 |ve.com>.|.Sean Af|
|00000200| 66 6c 65 63 6b 20 77 72 | 6f 74 65 3a 0a 3e 20 0a |fleck wr|ote:.> .|
|00000210| 3e 20 49 73 20 74 68 69 | 73 20 6c 65 67 61 6c 20 |> Is thi|s legal |
|00000220| 3f 0a 3e 20 0a 3e 20 63 | 6c 61 73 73 20 41 20 7b |?.> .> c|lass A {|
|00000230| 2e 2e 2e 7d 3b 0a 3e 20 | 0a 3e 20 41 20 66 28 29 |...};.> |.> A f()|
|00000240| 3b 0a 3e 20 0a 3e 20 6d | 61 69 6e 28 29 20 7b 0a |;.> .> m|ain() {.|
|00000250| 3e 20 20 20 41 20 61 20 | 3d 20 66 28 29 3b 0a 3e |> A a |= f();.>|
|00000260| 20 7d 0a 3e 20 0a 3e 20 | 41 20 66 28 29 0a 3e 20 | }.> .> |A f().> |
|00000270| 7b 0a 3e 20 20 20 20 41 | 20 66 61 3b 0a 3e 20 20 |{.> A| fa;.> |
|00000280| 20 20 72 65 74 75 72 6e | 20 66 61 3b 0a 3e 20 7d | return| fa;.> }|
|00000290| 0a 3e 20 0a 0a 59 65 73 | 2c 20 74 68 69 73 20 69 |.> ..Yes|, this i|
|000002a0| 73 20 70 65 72 66 65 63 | 74 6c 79 20 6c 65 67 61 |s perfec|tly lega|
|000002b0| 6c 2c 20 62 75 74 20 77 | 69 74 68 20 61 20 63 61 |l, but w|ith a ca|
|000002c0| 76 65 61 74 2e 20 20 49 | 66 20 79 6f 75 20 77 61 |veat. I|f you wa|
|000002d0| 6e 74 20 74 6f 20 64 6f | 20 74 68 69 73 0a 79 6f |nt to do| this.yo|
|000002e0| 75 20 73 68 6f 75 6c 64 | 20 64 65 66 69 6e 65 20 |u should| define |
|000002f0| 61 20 5f 63 6f 70 79 20 | 63 6f 6e 73 74 72 75 63 |a _copy |construc|
|00000300| 74 6f 72 5f 2e 20 20 49 | 74 20 69 73 20 61 20 73 |tor_. I|t is a s|
|00000310| 70 65 63 69 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 |pecial f|unction |
|00000320| 28 6c 69 6b 65 0a 74 68 | 65 0a 63 6f 6e 73 74 72 |(like.th|e.constr|
|00000330| 75 63 74 6f 72 20 61 6e | 64 20 64 65 73 74 72 75 |uctor an|d destru|
|00000340| 63 74 6f 72 29 20 74 68 | 61 74 20 74 65 6c 6c 73 |ctor) th|at tells|
|00000350| 20 74 68 65 20 63 6f 6d | 70 69 6c 65 72 20 68 6f | the com|piler ho|
|00000360| 77 20 74 6f 20 22 6d 61 | 6b 65 22 20 6e 65 77 0a |w to "ma|ke" new.|
|00000370| 6f 62 6a 65 63 74 73 0a | 28 77 68 69 63 68 20 63 |objects.|(which c|
|00000380| 61 6e 20 62 65 20 6e 6f | 6e 74 72 69 76 69 61 6c |an be no|ntrivial|
|00000390| 20 69 66 20 79 6f 75 72 | 20 6f 62 6a 65 63 74 20 | if your| object |
|000003a0| 63 6f 6e 74 61 69 6e 73 | 20 70 6f 69 6e 74 65 72 |contains| pointer|
|000003b0| 73 29 2e 0a 0a 4c 6f 6f | 6b 20 75 70 20 63 6f 70 |s)...Loo|k up cop|
|000003c0| 79 20 63 6f 6e 73 74 72 | 75 63 74 6f 72 20 69 6e |y constr|uctor in|
|000003d0| 20 61 20 67 6f 6f 64 20 | 43 2b 2b 20 62 6f 6f 6b | a good |C++ book|
|000003e0| 20 61 6e 64 20 79 6f 75 | 27 6c 6c 20 67 65 74 20 | and you|'ll get |
|000003f0| 61 20 67 6f 6f 64 20 69 | 64 65 61 2e 0a 0a 52 65 |a good i|dea...Re|
|00000400| 67 61 72 64 73 2c 0a 0a | 4a 42 0a 0a 3e 20 20 20 |gards,..|JB..> |
|00000410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000430| 20 20 20 20 20 20 54 68 | 61 6e 6b 73 21 0a 3e 20 | Th|anks!.> |
|00000440| 0a 3e 20 20 20 20 20 20 | 20 20 20 53 65 61 6e 20 |.> | Sean |
|00000450| 41 66 66 6c 65 63 6b 0a | 3e 20 20 20 20 20 20 20 |Affleck.|> |
|00000460| 20 20 6e 62 65 6e 6e 65 | 74 74 40 66 72 61 73 65 | nbenne|tt@frase|
|00000470| 72 2e 73 66 75 2e 63 61 | 0a 0a 2d 2d 20 0a 4a 6f |r.sfu.ca|..-- .Jo|
|00000480| 73 65 70 68 20 41 2e 20 | 42 65 6c 6c 20 28 4e 4f |seph A. |Bell (NO|
|00000490| 54 20 42 72 65 74 20 42 | 69 65 67 68 6c 65 72 29 |T Bret B|ieghler)|
|000004a0| 20 6a 6f 62 65 6c 6c 40 | 62 6e 72 2e 63 61 0a 4e | jobell@|bnr.ca.N|
|000004b0| 6f 72 74 68 65 72 6e 20 | 54 65 6c 65 63 6f 6d 20 |orthern |Telecom |
|000004c0| 2f 20 42 65 6c 6c 2d 4e | 6f 72 74 68 65 72 6e 20 |/ Bell-N|orthern |
|000004d0| 52 65 73 65 61 72 63 68 | 0a 22 57 68 61 74 3f 20 |Research|."What? |
|000004e0| 20 45 76 61 63 75 61 74 | 65 20 6e 6f 77 2c 20 69 | Evacuat|e now, i|
|000004f0| 6e 20 6f 75 72 20 6d 6f | 6d 65 6e 74 20 6f 66 20 |n our mo|ment of |
|00000500| 74 72 69 75 6d 70 68 3f | 20 20 53 75 72 65 6c 79 |triumph?| Surely|
|00000510| 20 79 6f 75 20 6f 76 65 | 72 65 73 74 69 6d 61 74 | you ove|restimat|
|00000520| 65 0a 74 68 65 69 72 20 | 63 68 61 6e 63 65 73 2e |e.their |chances.|
|00000530| 22 0a | |". | |
+--------+-------------------------+-------------------------+--------+--------+